<template>
  <div>
    <!-- 顶部四张card -->
    <Card></Card>
    <!-- 接着是销售趋势和排行 -->
    <el-card>
      <Sale></Sale>
    </el-card>
    <!-- 左边是热门搜索 右边是销售类别占比 两个图表 -->
    <el-row :gutter="20">
      <el-col :span="12"
        ><el-card><Search></Search></el-card>
      </el-col>
      <el-col :span="12">
        <el-card><sale-cate></sale-cate></el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Card from "./card";
import Sale from "./sale";
import Search from "./search";
import SaleCate from "./sale_cate";
export default {
  components: {
    Card,
    Sale,
    Search,
    SaleCate,
  },
};
</script>

<style lang="less" scoped>
.el-card {
  width: 100%;
  margin-top: 10px;
}
</style>